package org.btik.light.meta.node;

import org.btik.light.meta.LightNode;

public class DefaultNode implements LightNode {
    private LightNode parent;

    private String location;

    public void setParent(LightNode parent) {
        this.parent = parent;
    }

    public void setLocation(String location) {
        this.location = location;
    }

    @Override
    public LightNode parent() {
        return parent;
    }

    @Override
    public String location() {
        return location;
    }

    public DefaultNode(LightNode parent, String location) {
        this.parent = parent;
        this.location = location;
    }

}
